Page({
    data: {
        height: 480,
        oldHeight: 480
    },
    bindlinechange: function(t) {
        var e = this, n = (e.data.height, e.data.oldHeight);
        console.log(t), t.detail.heightRpx > n ? e.setData({
            height: t.detail.heightRpx
        }) : e.setData({
            height: n
        });
    },
    getValue: function(t) {
        this.setData({
            introValue: t.detail.value
        });
    },
    save: function() {
        0 != this.data.introValue.replace(/(^\s*)|(\s*$)/g, "").length ? (wx.setStorageSync("introValue", this.data.introValue), 
        wx.navigateBack({
            delta: 1
        })) : wx.showToast({
            title: "请输入内容",
            icon: "none",
            duration: 2e3
        });
    },
    onLoad: function(t) {
        this.setData({
            introValue: wx.getStorageSync("introValue") || ""
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});